﻿@model ArivisTests.Models.TestRun

@{
    ViewBag.Title = "Delete";
}

@section Navigation{
    @Html.ActionLink("Test Runs", "Index") &rsaquo; @Html.DisplayFor(model => model.Name)
}

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>TestRun</legend>

    <table class="display-table">
        <tr>
            <td class="display-label">
                @Html.DisplayNameFor(model => model.Name)
            </td>
            <td class="display-field">
                @Html.DisplayFor(model => model.Name)
            </td>

        </tr>
        <tr>
            <td class="display-label">
                @Html.DisplayNameFor(model => model.Date)
            </td>
            <td class="display-field">
                @Html.DisplayFor(model => model.Date)
            </td>
        </tr>
        <tr>
            <td class="display-label">
                @Html.DisplayNameFor(model => model.Progress)
            </td>
            <td class="display-field">
                @Html.DisplayFor(model => model.Progress)
            </td>
        </tr>
        <tr>
            <td class="display-label">
                @Html.DisplayNameFor(model => model.Results)
            </td>
            <td class="display-field">
                @Html.DisplayFor(model => model.Results)
            </td>
        </tr>
        <tr>
            <td class="display-label">
                @Html.DisplayNameFor(model => model.Tests)
            </td>
            <td class="display-field">
                @Html.DisplayFor(model => model.Tests.Count)
            </td>
        </tr>
    </table>

</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
